Skip to main content

avatarShape

Type​

property

Summary​

Specifies the shape of the avatar.

Syntax​

set the avatarShape of widget to {"circle" | "rectangle"}
get the avatarShape of widget

Description​

Use the avatarShape property to specify the shape of the avatar.

This property can take the values of circle and rectangle with circle being the default value.

Examples​

set the avatarShape of widget "Circle Avatar" to "rectangle"
set the roundedRadius of widget "Circle Avatar" to 25

Compatibility and Support​

OS

mac

windows

linux

ios

android

web

Platforms

desktop

mobile

web